/**
 * 
 */
package org.rk.core.auth.bean;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

import org.rk.core.domain.menu.CoreAdminMenu;
import org.rk.core.domain.domain.CoreDomain;
import org.rk.core.domain.module.CoreModule;
import org.rk.core.user.userPerm.CorePerm;
import org.rk.core.user.userRole.CoreUserRole;

/**
 * @author Cavion(曹仁道)
 * @类描述：当前登陆用户信息实体
 * 2016年12月3日
 */
public class ActiveUser implements Serializable{

	private static final long serialVersionUID = 1L;

	private Long id;
	private String userNum;
	private String userName;
	private String salt;
	private String password;
	private CoreDomain fromDomain;
	private Date loginDate;
	private boolean isActive;
	private List<CoreAdminMenu> menuList;
	private List<CoreModule> moduleList;
	private List<CoreUserRole> userRoleList;
	private List<CorePerm> permList;
	public Long getId() {
		return id;
	}
	public void setId(Long id) {
		this.id = id;
	}
	
	public String getUserNum() {
		return userNum;
	}
	public void setUserNum(String userNum) {
		this.userNum = userNum;
	}
	public String getUserName() {
		return userName;
	}
	public void setUserName(String userName) {
		this.userName = userName;
	}
	public String getPassword() {
		return password;
	}
	public void setPassword(String password) {
		this.password = password;
	}
	public CoreDomain getFromDomain() {
		return fromDomain;
	}
	public void setFromDomain(CoreDomain fromDomain) {
		this.fromDomain = fromDomain;
	}
	public Date getLoginDate() {
		return loginDate;
	}
	public void setLoginDate(Date loginDate) {
		this.loginDate = loginDate;
	}
	public boolean isActive() {
		return isActive;
	}
	public void setActive(boolean isActive) {
		this.isActive = isActive;
	}
	public List<CoreAdminMenu> getMenuList() {
		return menuList;
	}
	public void setMenuList(List<CoreAdminMenu> menuList) {
		this.menuList = menuList;
	}
	public List<CoreModule> getModuleList() {
		return moduleList;
	}
	public void setModuleList(List<CoreModule> moduleList) {
		this.moduleList = moduleList;
	}
	public List<CoreUserRole> getUserRoleList() {
		return userRoleList;
	}
	public void setUserRoleList(List<CoreUserRole> userRoleList) {
		this.userRoleList = userRoleList;
	}
	public List<CorePerm> getPermList() {
		return permList;
	}
	public void setPermList(List<CorePerm> permList) {
		this.permList = permList;
	}
	public String getSalt() {
		return salt;
	}
	public void setSalt(String salt) {
		this.salt = salt;
	}
	
	
}
